using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class QuitPanel : BasePanel<QuitPanel>
{
    public MyGUIButton btnGoOn;
    public MyGUIButton btnClose;
    private void Start()
    {
        btnGoOn.onClick += () =>
        {
            SceneManager.LoadScene("BeginScene");
        };
        btnClose.onClick += () =>
        {
            HidePanel();
            Time.timeScale = 1;
        };
        HidePanel();
    }
}
